﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopItemTemplate")]
    public class TopItemTemplate : BaseObject
    {
        //begin
        public TopItemTemplate()
        {}
        public TopItemTemplate(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _TemplateId;
        public string TemplateId
        {
            get
            {
                return _TemplateId;
            }
            set
            {
                SetPropertyValue("TemplateId", ref _TemplateId, value);
            }
        }
        private string _TemplateName;
        public string TemplateName
        {
            get
            {
                return _TemplateName;
            }
            set
            {
                SetPropertyValue("TemplateName", ref _TemplateName, value);
            }
        }
        private long _ShopType;
        public long ShopType
        {
            get
            {
                return _ShopType;
            }
            set
            {
                SetPropertyValue("ShopType", ref _ShopType, value);
            }
        }
        //end
    }
}
